package com.pandora.component;

import java.util.List;

public class TreeNode {
	private String propertyName;
	private String englishName;
	private String chineseName;
	private String className;
	private String level;
	private List<TreeNode> children;
	public TreeNode() {
	}
	public TreeNode(String englishName,String chineseName) {
		this.englishName=englishName;
		this.chineseName=chineseName;
	}
	
	public String getPropertyName() {
		return propertyName;
	}
	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}
	public void addNode(TreeNode treeNode) {
		children.add(treeNode);
	}
	public List<TreeNode> getChildren() {
		return children;
	}
	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
	public String getEnglishName() {
		return englishName;
	}
	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}
	public String getChineseName() {
		return chineseName;
	}
	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	
}
